#!/bin/sh

# push docker镜像文件到私服仓库
usage() {
	echo "Usage: sh push-images.sh"
	exit 1
}
tag=$1

# push images
echo "docker push images start ..."

docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-gateway:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-admin:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-customer:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-auth:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-api:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-sales:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-marketing:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kmss-bpmn:${tag}
docker push kcr.kmcloud.kingmed.idc/crm_dev/kingmed-settle:${tag}

